package com.feishi.core.util.common.rbtree;

import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: caixq
 * Date: 2020-08-03
 * Time: 上午11:25
 */
@Data
public class Node <T extends Comparable<T>>{
    private Node<T> parent;
    private Node<T> left;
    private Node<T> right;
    private T data;
    private int power=1;
    private int powerLeft=0;
    private int powerRight=0;
    private int count=1;
    private int countLeft=0;
    private int countRight=0;
}
